/*root类选择器给所有的元素设置样式*/
.root {
    -fx-font-family: "Songti SC";
    -fx-font-size: 12px;
    /*-fx-background-image: url("../images/background.jpg");*/
    -fx-background-size:  stretch;
    -fx-background-position: center;
    /*背景渐变色*/
    /*-fx-background-color: linear-gradient(to right,#00fffc,#fff600);*/
    /*-fx-background-color: linear-gradient(to right,#1F8FE8,#F2BAE8);*/
    /*-fx-effect: dropshadow(gaussian, lime, 1, 0.1, 10, 10);*/
}
.split-pane *.split-pane-divider {
    /*分割线边框*/
    /*-fx-padding: 0 0 0 0;*/
}

.button:hover{
    -fx-cursor: hand;
}
.tree-view:hover{
    -fx-cursor: hand;
}

.table-view .table-row-cell {
    -fx-background-insets: 0;
}

#search{
    -fx-font-size: 12px;
}

#header{
    /*-fx-background-color: #0aa858;*/
    /*-fx-background-color: #0F9D58;*/
    -fx-effect: dropshadow(three-pass-box, #22282a, 10.0,0, 1, 3);
    -fx-background-color: transparent;
    /*背景渐变色*/
    /*-fx-background-color: linear-gradient(to right,#00fffc,#fff600);*/
    /*-fx-background-color: linear-gradient(to right,#1F8FE8,#F2BAE8);*/
    /*-fx-effect: dropshadow(gaussian, lime, 1, 0.1, 10, 10);*/
    /*-fx-background-color: #1990FF;*/
    -fx-background-color: #4A5459;
}

#title{
    -fx-text-alignment: left;
    -fx-start-margin: 5px;
    -fx-font-size: 12pt;
    -fx-font-weight: bold;
    -fx-cursor: hand;
}

#title:hover{
    -fx-text-alignment: left;
    -fx-start-margin: 5px;
    /*边框阴影*/
    -fx-effect: dropshadow(three-pass-box, #4A5459, 10.0,0, 1, 3);
}


/*#close{*/
/*  -fx-cursor: hand;*/
/*}*/

/*#maxmize{*/
/*    -fx-cursor: hand;*/
/*}*/


#settings{
    /*-fx-cursor: hand;*/
    -fx-background-color: transparent;
    -fx-text-fill: #ffffff;
}

#settings:hover{
    /*-fx-cursor: hand;*/
    /*边框阴影*/
    /*-fx-effect: dropshadow(three-pass-box, #4A5459, 10.0,0, 1, 3);*/
    -fx-effect: dropshadow(three-pass-box, #ffffff, 10.0,0, 1, 3);
}

#settings:pressed{
    /*-fx-effect: dropshadow(three-pass-box, #4A5459, 0,0, 0, 0);*/
    -fx-effect: dropshadow(three-pass-box, #ffffff, 0,0, 0, 0);
}



#min{
    /*-fx-cursor: hand;*/
    -fx-background-color: transparent;
    -fx-text-fill: #ffffff;
}

#min:hover{
    -fx-cursor: hand;
    /*边框阴影*/
    /*-fx-effect: dropshadow(three-pass-box, #4A5459, 10.0,0, 1, 3);*/
    -fx-effect: dropshadow(three-pass-box, #ffffff, 10.0,0, 1, 3);
}

#min:pressed{
    /*-fx-effect: dropshadow(three-pass-box, #4A5459, 0,0, 0, 0);*/
    -fx-effect: dropshadow(three-pass-box, #ffffff, 0,0, 0, 0);
}




#maxmize{
    -fx-cursor: hand;
    -fx-background-color: transparent;
    -fx-text-fill: #ffffff;
}

#maxmize:hover{
    -fx-cursor: hand;
    /*边框阴影*/
    /*-fx-effect: dropshadow(three-pass-box, #4A5459, 10.0,0, 1, 3);*/
    -fx-effect: dropshadow(three-pass-box, #ffffff, 10.0,0, 1, 3);
}

#maxmize:pressed{
    /*-fx-effect: dropshadow(three-pass-box, #4A5459, 0,0, 0, 0);*/
    -fx-effect: dropshadow(three-pass-box, #ffffff, 0,0, 0, 0);
}



#close{
    -fx-cursor: hand;
    -fx-background-color: transparent;
    -fx-text-fill: #ffffff;
}

#close:hover{
    -fx-cursor: hand;
    /*边框阴影*/
    /*-fx-effect: dropshadow(three-pass-box, #4A5459, 10.0,0, 1, 3);*/
    -fx-effect: dropshadow(three-pass-box, #ffffff, 10.0,0, 1, 3);
}

#close:pressed{
    /*-fx-effect: dropshadow(three-pass-box, #4A5459, 0,0, 0, 0);*/
    -fx-effect: dropshadow(three-pass-box, #ffffff, 0,0, 0, 0);
}

.sub-icon{
    -fx-fill: rgb(113, 118, 114);
}


.tree-view {
    -fx-background-color: -fx-box-border, -fx-control-inner-background;
    -fx-background-insets: 0, 1;
    /* There is some oddness if padding is in em values rather than pixels,
       in particular, the left border of the control doesn't show. */
    -fx-padding: 1; /* 0.083333em; */
}